package com.bangcommunity.bbframe.mq;

import java.io.Serializable;
import java.util.HashMap;

/**
 * Created by tanghc on 17/2/4.
 */
public interface IQtMessager<T extends Serializable> extends Serializable {
    T getBody();

    String getMsgId();

    void attach(String key, Object value);

    HashMap<String, Object> getAttach();
}
